
html {
    line-height: 1.15;
}

body {
    color: #444;
    font-size: 14px;
    font-family: "Microsoft Yahei", "Helvetica Neue", Helvetica, Arial, sans-serif;
    background-color: #eee;
    color: #444;
}

.wrapper {
    max-width: 1440px;
    margin: 0 auto;
}

.header {
    width: 190px;
    height: 100%;
    background-color: #fff;
    position: fixed;

    .logo {
        width: 100%;
        height: 120px;
        background: #ff5e52;
    }

    .nav {
        font-size: 16px;
        border-bottom: 1px solid #eee;

        a {
            display: block;
            padding: 12px 25px;
            color: #666;

            .fa {
                width: 16px;
                height: 16px;
                margin-right: 12px;
            }
        }
    }

    .search {
        margin-bottom: 15px;
        padding: 30px 15px;
        border-bottom: 1px solid #eee;

        .keys {
            width: 112px;
            height: 34px;
            color: #666;
            border: 1px solid #DDD;
        }

        input {
            float: left;
            box-sizing: border-box;
        }

        .btn {
            width: 48px;
            height: 34px;
            border: none;
            color: #fff;
            background-color: #ff5e52;
        }

    }
}

.aside {
    width: 280px;
    margin: 20px;

    .widgets {
        padding: 15px 20px;
        margin-bottom: 20px;
        background-color: #fff;
        overflow: hidden;

        h4 {
            display: inline-block;
            margin-bottom: 5px;
            font-size: 20px;
            border-bottom: 2px solid #ff5e52;
        }

        .search {
            padding-top: 10px;


            form {
                height: 34px;

                input {
                    height: 100%;
                    padding: 5px 5px 5px 10px;
                    color: #666;
                    box-sizing: border-box;
                }

                .keys {
                    width: 170px;
                    border: 2px solid #DDD;
                    border-right: 0 none;
                    float: left;
                }

                .btn {
                    width: 70px;
                    color: #fff;
                    border: none;
                    background-color: #ff5e52;
                    opacity: 0.85;
                }
            }
            
        }


        .random {


            li {
                height: 60px;
                padding: 10px 0;
                border-bottom: 1px solid #eee;

                .random-text {

                    p {
                        width: 160px;
                        line-height: 20px;
                    }

                    .title {
                        font-size: 14px;
                        color: #444;
                    }
                    
                    .reading {
                        font-size: 12px;
                        color: #999;
                    }
                }

                .pic {
                    width: 70px;

                    img {
                        width: 100%;
                    }
                }
            }

            li:last-child {
                border-bottom: none;
            }
        }

        .discuz {


            li {
                height: 40px;
                padding: 10px 0;
                border-bottom: 1px solid #eee;
                

                .avatar {
                    width: 40px;
                    height: 40px;
                    border-radius: 20px;
                    overflow: hidden;

                    img {
                        width: 100%;
                    }
                }

                .text {
                    padding-left: 50px;

                    p {
                        line-height: 20px;
                        font-size: 12px;
                        color: #999;

                        span {
                            color: #666;
                            margin-right: 5px;
                        }

                        i {
                            font-style: normal;
                        }
                    }
                }
            }

            li:last-child {
                border-bottom: none;
            }
        }
    }
}

.content {
    position: relative;
    padding: 20px;
    margin: 0 300px 0 190px;

    .swipe {
        width: 100%;
        margin-bottom: 20px;
        position: relative;
        overflow: hidden;

        .swipe-wrapper {
            overflow: hidden;
            position: relative;

            li {
                float: left;
                overflow: hidden;
                position: relative;

                img {
                    width: 100%;
                    height: 100%;
                }

                span {
                    position: absolute;
                    left: 0;
                    bottom: 0;
                    width: 100%;
                    height: 40px;
                    padding: 10px;
                    font-size: 16px;
                    color: #fff;
                    background-color: rgba(0, 0, 0, 0.7);
                    box-sizing: border-box;
                }
            }
        }

        .cursor {
            position: absolute;
            right: 0;
            bottom: 15px;
            width: 200px;
            height: 10px;
            text-align: right;
            font-size: 0;
            text-align: right;
            margin-right: 10px;

            span {
                display: inline-block;
                width: 9px;
                height: 9px;
                margin: 0 3px;
                border: 1px solid #fff;
                border-radius: 9px;
                cursor: pointer;
                box-sizing: border-box;
            }

            .active {
                background-color: #fff;
            }
            
        }
    }

    .panel {
        margin-bottom: 20px;
        padding: 20px;
        background-color: #fff;

        h3 {
            display: inline-block;
            font-size: 20px;
            font-weight: 600;
            border-bottom: 2px solid #ff5e52;
            line-height: 32px;
            margin-bottom: 10px;
        }   
    }

    .hots {

        ul {
            display: flex;
            justify-content: space-between;

            li {
                width: 24%;

                img {
                    width: 100%;
                    height: 132px;
                    margin-bottom: 5px;
                }

                span {
                    color: #666;
                }

                &:hover span {
                    color: #ff5e52;
                }
            }
        }
    }

    .new {

        .head {
            height: 30px;
            line-height: 30px;
            margin: 13px 0 15px 0;
            box-sizing: border-box;
            font-size: 22px;
            color: #444;

            .sort {
                position: relative;
                display: inline-block;
                height: 24px;
                line-height: 24px;
                font-size: 12px;
                background-color: #ff5e52;
                margin-right: 10px;
                margin-top: 3px;
                color: #fff;
                padding: 0 10px;
            }

            .sort::after {
                display: block;
                position: absolute;
                top: 8px;
                right: -8px;
                content: '';
                border-width: 4px;
                border-style: solid;
                border-color: transparent transparent transparent #ff5e52;
            }

            a {
                font-size: 22px;
                color: #444;
            }
        }

        .main {
            height: 185px;
            margin-bottom: 8px;
            border-bottom: 1px solid #eee;


            .main-text {
                width: 75%;

                p {
                    width: 100%;
                }
    
                .info {
                    font-size: 12px;
                    color: #999;
                }
    
                .brief {
                    line-height: 22px;
                    font-size: 14px;
                    color: #777;
                    margin-top: 6px;
                    margin-bottom: 10px;
                    text-align: justify;
                }
    
                .extra {
                    width: 75%;
                    display: flex;
                    font-size: 12px;
                    color: #999;
    
                    li {
                        margin-right: 20px;
    
                        a {
                            color: #999;
    
                            span {
                                text-decoration: underline;
                            }
                        }
                    }
                }
            }
            
            .main-img {

                .thumb {
                    width: 20%;

                    img {
                        width: 174px;
                    }
                }
            }
            
        }
    }
}

